import { AbstractControl } from '@angular/forms'

export function ValidateOrderAmount(control: AbstractControl) {
  if (control.value === 0) {
    return { validAmount: true }
  }
  return null
}
